FROM openjdk:8-jdk-alpine

ARG JAR_FILE=*.jar
ARG APP_PORT=8080

COPY ${JAR_FILE} /app.jar

EXPOSE ${APP_PORT}

ENTRYPOINT ["java","-jar","/app.jar"]